<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<title>Figure 1: SSFNet OSPFv2 DML schema excerpt</title>
</head>

<body bgcolor="ffffffe1">

<b>Figure 1:  SSFNet OSPFv2 DML schema excerpt</b><br>

<table width="100%" align="center" border="1" cellspacing="0" cellpadding="10" bgcolor="#efefef">
<tr>
<td>
<pre>
ospfv2_schema [

  ProtocolSession [
    name %S1!:ospf
    use  %S1!:SSF.OS.OSPFv2.OSPF
        	
    # granularity of the LSA aging process in seconds.
    # The default value is 4
    age_itvl %I<1

  # The following attributes configure some ospf specific timers. 

    # delay time in seconds between topology change and spf calculation. The default value is 5.
    spf_delay         %I<1:(0...65535)

    # delay time in seconds between two consecutive spf calculations. The default value is 10.
    spf_hold_time     %I<1:(0...65535)

    # delay time in seconds(!) at which LSAs in the flooding queue are paced in between updates.
    # The default value is 0.033.
    pacing_flood_time %F<1:(0.005...0.1)

  # The following attributes toggle certain debug output. The default value for all these
  # attributes is "false". 

    # enable/disable debug output for changes in the link state database
    show_lsdb               %S<1:(true|false)

    # enable/disable debug output for changes in the ospfv2 forwarding table
    show_fwd_table          %S<1:(true|false)

    # enable/disable debug output for changes in the shortest path tree.
    show_shortest_path_tree %S<1:(true|false)

    # enable/disable debug output concerning received and sent hello packets
    show_hello_pkt  	    %S<1:(true|false)

    # enable/disable debug output concerning received and sent database description packets.
    show_dd_pkt     	    %S<1:(true|false)

    # enable/disable debug output concerning the flooding process
    show_flooding   	    %S<1:(true|false)

    # enable/disable debug output for changes in an ospfv2 area configuration
    show_area               %S<1:(true|false)

    # enable/disable debug output for changes in a neighbor state.
    # This option gives no output yet, but the info is distributed among "show_hello_pkt",
    # "show_dd_pkt" and "show_flooding". For example, changes to the states due to 
    # LS Update Packets are reported if "show_flooding" is set. 
    show_neighbors          %S<1:(true|false)

    # enable/disable debug output for changes in an ospfv2 interface configuration
    show_interfaces 	    %S<1:(true|false)

    # enable/disable debug output for changes in the ospfv2 configuration for this router
    show_config             %S<1:(true|false)
                
    # enable all output at once
    show_all                %S<1:(true|false)

  # You must specify at least one area if you want to run OSPFv2 on one or more interfaces.
  # The interfaces belonging to this area must be configured within this area configuration.

    # Each OSPF router belongs to at least one area.
    area %T:.ospfv2_schema.area  
        
  ] # end ProtocolSession

  area [
    # The area's id. 0 always indicates the backbone area. This attribute may be optional
    # ONLY in the case the router solely attaches to the backbone area. Then the default 
    # value is 0 otherwise it MUST be specified!
    id %I1!

    # Specifies whether this area is a stub area. Default value in case of non-backbone is: false
    stub %S<1:(true|false)
                
    # In case the area is configured as stub, this attribute specifies the stub default cost at 
    # which a default summary LSA is announced into that area in case the router is an area border
    # router. If the value is 0 or less, no default summary will be announced. Default value is: 0
    stub_default_cost %I<1

    # All ospf interfaces belonging to this area are specified here.
    if %T:.ospfv2_schema.interface
  ]

  interface [
  # The next two values are mandatory attributes.

    # The interface's id. This id MUST be equal to the id of the according NIC
    id             %I1!
                
    # The link type of the network connected to this interface.
    # All values but "ptp" are not supported!!!
    network        %S1!:(ptp|broadcast|nbma|ptm|vlink)

  # The following attributes are optional

    # The ospf interface output cost. 
    # The default value is 1
    cost           %I<1
                
    # The router's priority for the network this interface attaches to.
    # The default value is 0
    priority       %I<1
             
    # OSPFv2 Interface Transmission Delay in seconds. 
    # The default value is 1
    transmit-delay %I<1
                
    # Hello Interval in seconds.
    # The default value is 10
    hello-interval %I<1
                
    # Router Dead Interval in seconds.
    # The default value is 40
    dead-interval  %I<1
                
    # Retransmission Interval in seconds.
    # The default value is 5
    retransmit-interval %I
  ]
]
</pre>
</td>
</tr>
</table>


<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>


</body>
</html>
